[Template:config.txt]
[Template:scriptincludes.html]
<script>
	
	$(function() {
		$.datepicker.setDefaults($.datepicker.regional[['en-GB']]);
		$('input[[name$="dateEstimate"]]').datepicker();
		$('input[[name$="dateValid"]]').datepicker();
    }); 

</script>	
<div class="nwb-button-container">
[<tag id="cmdUpdate2" type="linkbutton" text="Update and Exit" tooltip="Update" commandname="Updateexit" cssclass="nwb-button primary icon approve" commandargument="ItemID"/>]&nbsp;
[<tag id="cmdUpdate1" type="linkbutton" text="Update" tooltip="Update" commandname="Update" cssclass="nwb-button primary icon approve" commandargument="ItemID"/>]&nbsp;
[<tag id="cmdDelete1" type="linkbutton" text="Delete" tooltip="Delete" commandname="Delete" cssclass="nwb-button danger icon remove" commandargument="ItemID" confirm="Delete Item?" />]&nbsp;
[<tag id="cmdCancel1" type="linkbutton" text="Cancel" tooltip="Cancel" commandname="Cancel" cssclass="nwb-button danger" commandargument="ItemID" />]&nbsp;
</div>
<br/>
<div class="nwb-button-group">
[<tag id="cmdRecalc" type="linkbutton" text=" Recalculate" tooltip="Recalculate Total" commandname="Recalc" cssclass="nwb-button" commandargument="ItemID" />]&nbsp;
[<tag id="cmdSelectArticle" type="linkbutton" text=" Select Article" tooltip="Select Article" cssclass="nwb-button" commandname="SelectArticle" commandargument="ItemID" />]
&nbsp;[<tag id="cmdAddArticle" type="linkbutton" text=" Add Article" tooltip="Add Article" cssclass="nwb-button primary icon add" commandname="AddArticle" commandargument="ItemID" />]
[<tag id="cmdCreateInv" type="linkbutton" text=" Create Inv" tooltip="Create Invoice from Estimate" cssclass="nwb-button" commandname="CreateInvoice" commandargument="ItemID" confirm="Create a New Invoice for this Estimate?" />]
</div>
<br/><br/>[<tag id="chkHideTotal" type="checkbox" text="Hide Totals on Estimate" />]<br/>
[<tag id="chkAccepted" type="checkbox" text="Accepted" />]
<br/>
<div>
[<tag id="UserID" type="hidden" value="" />]
[<tag id="ItemID" type="hidden" value="databind:ItemID" />]
[<tag id="dteModifiedDate" type="hidden" value="" />]
[<tag id="LockedBy" type="hidden" value="" />]
[<tag id="htmlDisplayLockedBy" type="hidden" value="" />]
[<tag id="dblSubTotal" type="hidden" value="" />]
[<tag id="dblTaxTotal" type="hidden" value="" />]
[<tag id="dblGrandTotal" type="hidden" value="" />]
[<tag type="valueof" xpath="genxml/hidden/htmldisplaylockedby" />]
[<tag id="EstimateRef" type="hidden" value="" />]
[<tag id="EstimatePDF" type="hidden" value="" />]
[<tag id="EstimatePrintPDF" type="hidden" value="" />]
[<tag id="EstimatePrintPDFrtn" type="hidden" value="" />]
[<tag id="LogoImage" type="hidden" value="" />]
<div class="NBright_TotalsDiv">Total (HT) {$CurrencySymbol} [<tag type="valueof" xpath="genxml/hidden/dblsubtotal" datatype="double" format="N" />]&nbsp;&nbsp;Total (TTC) {$CurrencySymbol} [<tag type="valueof" xpath="genxml/hidden/dblgrandtotal"  datatype="double" format="N" />]</div>
<table class="normal" width="100%" border="0px" cellpadding="1px" cellspacing = "1px">
<tr>
<td>Estimate Ref : </td>
<td>[<tag type="valueof" xpath="genxml/hidden/estimateref" />]</td>
</tr>
<tr>
<td>Estimate Date : </td>
<td>[<tag id="dateEstimate" type="textbox" width="90" datatype="date" />]</td>
</tr>
<tr>
<td>Valid Until : </td>
<td>[<tag id="dateValid" type="textbox" width="90" datatype="date" />]</td>
</tr>
<tr>
<td colspan="2">Notes:<br/>[<tag id="txtNotes" type="textbox" height="100" width="400" maxlength="500" textmode="MultiLine" />]</td>
</tr>
</table>

[Template:ClientFullSelect.html]

[<tag id="chkArchived" type="checkbox" text="Closed" />]
<br />
<font size="1px">Last Modified : [<tag type="valueof" xpath="genxml/hidden/dtemodifieddate" />]</font>
</div>
